<?php

/**
 * Recordatorio form.
 *
 * @package    cronos-doctrine
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class RecordatorioForm extends BaseRecordatorioForm
{
  public function configure()
  {
      unset (
        $this['created_at'],
        $this['updated_at'],
        $this['mensaje_alerta_id']
      );
      
      
      $this->widgetSchema['empresa_id'] = new sfWidgetFormInputHidden(array(),array('value'=> sfContext::getInstance()->getUser()->getAttribute('agente_user_empresa_id')));
      
      $this->widgetSchema['fecha'] = new sfWidgetFormJQueryDate(array(
         'culture'=> 'es',         
         'config' => "{minDate: +1,}"         
         ));
      
            $this->widgetSchema['fecha'] = new sfWidgetFormInput(array(), array ('class' => 'dateTime','readonly'=>'true'));
  }
}
